package cn.duli.myvideo.mapper;

import cn.duli.myvideo.pojo.VarietyComment;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VarietyCommentMapper {

    Page<VarietyComment> findAll();

    List<VarietyComment> findByUserId(@Param("uId") Integer uId);

    List<VarietyComment> findByVarietyId(@Param("vId") Integer vId);

    void save(VarietyComment varietyComment);

    void deleteById(@Param("vcId") Integer vcId);
}